use std::fmt::Debug;

use rust_embed::EmbeddedFile;

pub struct Resource {
    pub name: String,
    pub file: EmbeddedFile,
}

impl Debug for Resource {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        f.debug_struct("Resource")
            .field("name", &self.name)
            .finish()
    }
}
